xen/arm: vgic: Keep track of vIRQ used by a domain
authorJulien Grall <julien.grall@linaro.org>
Thu, 19 Feb 2015 18:12:03 +0000 (18:12 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 25 Feb 2015 13:49:23 +0000 (13:49 +0000)
commit1c4159922adf931fa3362963910af8862b4accec
treed445c15bde6c53ef5a0fd6578dc6f5d12e9b00db
parent61d6a849fd220663462b15990482d1d4b0d3f73b
xen/arm: vgic: Keep track of vIRQ used by a domain

While it's easy to know which hardware IRQ is assigned to a domain, there
is no way to know which vIRQ is allocated by Xen for a specific domain.

Introduce a bitmap to keep track of every vIRQ used by a domain. This
will be used later to find free vIRQ for interrupt device assignment and
emulated interrupt.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/domain.c
xen/arch/arm/domain_build.c
xen/arch/arm/platforms/xgene-storm.c
xen/arch/arm/vgic.c
xen/arch/arm/vtimer.c
xen/include/asm-arm/domain.h
xen/include/asm-arm/vgic.h